<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
		<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<link rel="stylesheet" type="text/css" href="http://localhost/wasai/hdphp/Template/default/css/header.css"/>
		<link rel="stylesheet" type="text/css" href="http://localhost/wasai/hdphp/Template/default/css/bottom.css"/>
		<script src="http://localhost/wasai/hdphp/Template/default/js/jquery-1.7.2.min.js" type="text/javascript" charset="utf-8"></script>
		<title>哇噻网</title>
	</head>
	<body>
		<!--顶部开始-->
		<div id="top_header_top">
			<div class="top_header">
				<!--登陆注册区-->
				<div class="top_header_left">
					<a href="" class="button">登陆</a>
					<a href="" class="button">注册</a>
				</div>
				<!--登陆注册区结束-->
				<!--购物车区域-->
				<div class="top_header_right">
					<img src="http://localhost/wasai/hdphp/Template/default/images/buycar.png" alt="" />
					<a href="">购物车<span>0</span>件</a>
				</div>
				<!--购物车区域结束-->
			</div>
		</div>
		<div id="top_header_bottom">
			<div class="top_header">
				<ul class="top_header_left">
					<a href="http://localhost/wasai/hdphp" class="top"><span></span></a>
					<?php foreach ($cate as $k=>$v){?>
					<li><a href="<?php echo U('Category/index',array('cid'=>$v['cid']));?>"><?php echo $v['cname'];?></a></li>
					<?php }?>
				</ul>
				<div class="top_header_right">
					<a href="">动态</a>
					<a href="">画报</a>
					<form action="" method="post">
						<input type="text" name="" id="" value="请输入要搜索的关键词" class="input"/>
						<a href="" class="search"><span></span></a>
					</form>
				</div>
			</div>	
		</div>
		<a href="http://localhost/wasai/hdphp" id="logo"></a>
		<!--顶部结束-->
		<link rel="stylesheet" type="text/css" href="http://localhost/wasai/hdphp/Template/default/css/list.css"/>
		<!--顶部结束-->
		<div id="center_header"></div>
		<div id="center">
			<h2>单品排行榜</h2>
			<div class="category">
				<a href="" class="all">全部分类</a>
				<a href="">服饰</a>
				<a href="">饰品</a>
				<a href="">鞋包</a>
				<a href="">家居</a>
				<a href="">数码</a>
				<a href="">文具</a>
				<a href="">玩偶</a>
				<a href="">定制</a>
				<a href="">艺术</a>
				<a href="">民艺</a>
				<a href="">植物食品</a>
			</div>
			<!--商品区域-->
				
			<!--第四个最右边加class=every-r-->
			<?php $i=0 ?>
			<?php foreach ($data as $k=>$v){?>
				<?php $i++; ?>
			<div class='every     <?php if($i%4==0){ ?>every-r<?php } ?>'>
				<a href="<?php echo U('Content/index',array('gid'=>$v['gid']));?>"><img src="http://localhost/wasai/hdphp/<?php echo $v['listview'];?>"/></a>
				<a href="<?php echo U('Content/index',array('gid'=>$v['gid']));?>"><?php echo $v['gname'];?></a>
				<div class="line"><span>￥<?php echo $v['shopprice'];?></span></div>
			</div>
			<?php }?>
			
			<!--商品区域结束-->
		</div>	
		
		<div id="page">
			
		</div>
		
		<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
<!--快速跳转区域-->
		<div id="clear"></div>
		<div id="flink">
			<div class="center">
				<dl>
					<dt>更多精彩</dt>
					<dd><a href="">闪购</a></dd>
					<dd><a href="">新品</a></dd>
					<dd><a href="">热卖</a></dd>
					<dd><a href="">礼物</a></dd>
					<dd><a href="">品牌</a></dd>
				</dl>
				<dl class="promise">
					<dt class="">我们承诺</dt>
					<dd><a href="">100％原创设计</a></dd>
					<dd><a href="">365天不打烊</a></dd>
					<dd><a href="">无理由退换货 ( 除定制 )</a></dd>
					<dd><a href="">担保交易</a></dd>
					<dd><a href="">先行赔付</a></dd>
					<dd><a href="">支持定制</a></dd>
				</dl>
				<dl class="concern">
					<dt class="">在这里关注我们</dt>
					<dd ><a href="" class="tu xinlang">新浪微博</a></dd>
					<dd><a href="" class="tu tengxun">腾讯微博</a></dd>
					<dd><a href="" class="tu douban">豆瓣小站</a></dd>
					<dd><a href="" class="tu renren">人人小站</a></dd>
					<dd><a href="" class="tu wasai">哇噻网官方微信</a></dd>
				</dl>
				<a href=""><img src="http://localhost/wasai/hdphp/Template/default/images/edCode.png" alt="" class="erweima" /></a>
			</div>
		</div>
		<!--快速跳转区域结束-->
		<div id="bottom">
			<p>高端定制上哇噻网</p>
			<div class="link">      
				<a href="">关于我们</a>
				<a href="">联系我们</a>
				<a href="">媒体报道</a>
				<a href="">创意画报</a>
				<a href="">招贤纳士</a>
				<a href="">招贤纳士</a>
				<a href="">用户条款</a>
				<a href="">隐私声明</a>
				<a href="">隐私声明</a>
				<a href="">网站地图</a>
				<a href="">帮助中心</a>
				<a href="">手工客</a>
			</div>
			<span>北京光年创艺信息技术有限公司 WowSai.com Copyright© 2008-2013 [京ICP备10020900][京公网安备11010502026420][京ICP证090011号]</span>
			<div class="pic">
				<a href=""><img src="http://localhost/wasai/hdphp/Template/default/images/1.png" alt="" /></a>
				<a href=""><img src="http://localhost/wasai/hdphp/Template/default/images/2.png" alt="" /></a>
				<a href=""><img src="http://localhost/wasai/hdphp/Template/default/images/cnnic.png" alt="" /></a>
			</div>
		</div>

	</body>
</html>
